import { WeaTools } from 'ecCom';

export const getNumOfAll = params => WeaTools.callApi('/api/doc/doccenter/getNumOfAll', 'GET', params);
export const getNumOfMy = params => WeaTools.callApi('/api/doc/doccenter/getNumOfMy', 'GET', params);
export const getNumOfReplyAndPraise = params => WeaTools.callApi('/api/doc/doccenter/getNumOfReplyAndPraise', 'GET', params);
export const getRank = params => WeaTools.callApi('/api/doc/doccenter/getRank', 'GET', params);
export const getLastestReader = params => WeaTools.callApi('/api/doc/doccenter/lastestReader', 'GET', params);
export const getTabInfo = params => WeaTools.callApi('/api/doc/doccenter/tabInfo', 'GET', params);
export const getDocList = params => WeaTools.callApi('/api/doc/doccenter/docList', 'GET', params);
export const getTabInfoOfPartner = params => WeaTools.callApi('/api/doc/doccenter/tabInfoOfPartner', 'GET', params);
export const getDocListOfPartner = params => WeaTools.callApi('/api/doc/doccenter/docListOfPartner', 'GET', params);
export const getUserInfo = params => WeaTools.callApi('/api/doc/doccenter/userInfo', 'GET', params);
export const accForDoc = params => WeaTools.callApi('/api/doc/save/accForDoc', 'GET', params);
export const getNumOfReplyAndPraiseDetail = params => WeaTools.callApi('/api/doc/doccenter/getNumOfReplyAndPraiseDetail', 'GET', params);
export const getUploadSet = params => WeaTools.callApi('/api/doc/doccenter/getUploadSet', 'GET', params);
